package com.google.shoopinggoods.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/23.
 */

public class Goods {

    /**
     * code : 0
     * msg :
     * data : [{"id":"fe7eaf6c-9120-43fd-8876-c510c138c7ca","category":"child","name":"【立减60元再送赠品】Nutrilon诺优能奶粉3段双罐装进口荷兰牛栏","price":316,"oprice":399,"desc":"包装方式: 包装\r\n奶粉净含量: 800g2罐组合\r\n重量(g): 1600\r\n系列: 荷兰版\r\n适用年龄: 1-3周岁\r\n保质期：540 天\r\n适用阶段: 三段","imgs":["61f11e39-0e18-4742-8b66-3193bacb3c5f.jpg","7f21cf3e-12d8-4806-ab83-0f52927e34fe.jpg","209d9e7d-7f07-4b05-9929-0cfe50625909.jpg","4c30909a-4a58-4531-ae10-5066ec8e7fb4.jpg","3dec5c2d-e64d-4a21-b377-91e941caf5aa.jpg"],"specs":[{"name":"版本","options":"三段 800g #三段 800g2罐组合# 三段 4.8KG"}],"merchant":"nutrilon官方旗舰店","sales":69864,"service":"正品保证#极速退款#七天无理由退换"},{"id":"522cb0e6-0c91-474c-b4b8-7356a09440e4","category":"child","name":"童装女童白色连衣裙夏装纯棉2016夏季女大童儿童纱裙小女孩公主裙","price":49,"oprice":249,"desc":"款式: 吊带裙/背心裙\r\n裙型: 背带裙\r\n参考身高: 90cm 尺码偏小 建议拍大\r\n风格: 公主\r\n适用季节: 夏季","imgs":["eaf17142-d7f6-4cd4-8b42-c53070b4c3f8.jpg","e79cb4a9-ffc8-40a0-ae9a-b38c03701d1c.jpg","27298d5d-3490-4a5f-ab66-0eee04f9a501.jpg","d29ac1a9-3d4c-47bc-a504-1110b70ceeeb.jpg","e9817ee8-40f1-4688-b568-3f0957827bb6.jpg"],"specs":[{"name":"参考身高","options":"110cm#120cm#130cm#140cm"}],"merchant":"荣益母婴专营店","sales":498,"service":"正品保证#极速退款#七天无理由退换"}]
     */

    public int code;
    public String msg;
    public List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public class DataBean {
        /**
         * id : fe7eaf6c-9120-43fd-8876-c510c138c7ca
         * category : child
         * name : 【立减60元再送赠品】Nutrilon诺优能奶粉3段双罐装进口荷兰牛栏
         * price : 316.0
         * oprice : 399.0
         * desc : 包装方式: 包装
         奶粉净含量: 800g2罐组合
         重量(g): 1600
         系列: 荷兰版
         适用年龄: 1-3周岁
         保质期：540 天
         适用阶段: 三段
         * imgs : ["61f11e39-0e18-4742-8b66-3193bacb3c5f.jpg","7f21cf3e-12d8-4806-ab83-0f52927e34fe.jpg","209d9e7d-7f07-4b05-9929-0cfe50625909.jpg","4c30909a-4a58-4531-ae10-5066ec8e7fb4.jpg","3dec5c2d-e64d-4a21-b377-91e941caf5aa.jpg"]
         * specs : [{"name":"版本","options":"三段 800g #三段 800g2罐组合# 三段 4.8KG"}]
         * merchant : nutrilon官方旗舰店
         * sales : 69864
         * service : 正品保证#极速退款#七天无理由退换
         */

        public String id;
        public String category;
        public String name;
        public double price;
        public double oprice;
        public String desc;
        public String merchant;
        public int sales;
        public String service;
        public List<String> imgs;
        public List<SpecsBean> specs;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getOprice() {
            return oprice;
        }

        public void setOprice(double oprice) {
            this.oprice = oprice;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getMerchant() {
            return merchant;
        }

        public void setMerchant(String merchant) {
            this.merchant = merchant;
        }

        public int getSales() {
            return sales;
        }

        public void setSales(int sales) {
            this.sales = sales;
        }

        public String getService() {
            return service;
        }

        public void setService(String service) {
            this.service = service;
        }

        public List<String> getImgs() {
            return imgs;
        }

        public void setImgs(List<String> imgs) {
            this.imgs = imgs;
        }

        public List<SpecsBean> getSpecs() {
            return specs;
        }

        public void setSpecs(List<SpecsBean> specs) {
            this.specs = specs;
        }

        public class SpecsBean {
            /**
             * name : 版本
             * options : 三段 800g #三段 800g2罐组合# 三段 4.8KG
             */

            private String name;
            private String options;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getOptions() {
                return options;
            }

            public void setOptions(String options) {
                this.options = options;
            }
        }
    }
}
